﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.Master" AutoEventWireup="true"
    Inherits="Wjtour.Web.Admin.slides.addedi" %>

<%@ Import Namespace="Wjtour.Domain" %>
<%@ Import Namespace="Wjtour.Common" %>
<%@ Import Namespace="Wjtour.Domain.dto" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <form action="index.php?mod=slides&act=addedi" method="post" name="form1">
    <table id="addeditable" border="1" cellpadding="0" cellspacing="0" bordercolor="#dddddd">
        <tr>
            <td width="115px" align="right">
                标题：
            </td>
            <td>
                &nbsp;
                <asp:TextBox ID="title" Width="300" runat="server" />
            </td>
        </tr>
        <tr>
            <td align="right">
                分类：
            </td>
            <td>
                &nbsp;<asp:DropDownList runat="server" ID="cid">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="right">
                商品图片：
            </td>
            <td>
                &nbsp;<asp:TextBox runat="server" ID="img" Width="300" />
                <asp:FileUpload ID="upload" runat="server" />
                <asp:Button ID="btnPublish" runat="server"  Text="上传"/>
            </td>
        </tr>
        <tr>
            <td align="right">
                图片预览：
            </td>
            <td>
                &nbsp;<asp:Image runat="server" ID="imgPreview" ImageUrl="" />
            </td>
        </tr>   
        <tr>
            <td align="right">
                连接：
            </td>
            <td>
                &nbsp;<asp:TextBox runat="server" ID="url" Width="300" />
                </td>
        </tr>
        <tr>
            <td align="right">
                显示/隐藏：
            </td>
            <td>
                &nbsp;
                <asp:RadioButtonList ID="hide" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Value="0" Selected="True">显示</asp:ListItem>
                    <asp:ListItem Value="1">隐藏</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td align="right">
                排序：
            </td>
            <td>
                &nbsp;<asp:TextBox runat="server" ID="sort" Width="300" />
                数字越大越靠前
            </td>
        </tr>
        <tr>
            <td align="right">
                &nbsp;
            </td>
            <td>
                &nbsp;<asp:Button ID="submit" runat="server" Text=" 保 存 " />
            </td>
        </tr>
    </table>
    </form>
</asp:Content>
